aliases:
- How to/Working with tags
permalink: tags
Tags are keywords or topics that help you quickly find the notes you want.
To create a tag, enter a hash symbol (#
) in the editor, followed by a keyword. For example, #meeting
.
You can also add tags using the tags
property. Tags in YAML should always be formatted as a list:
---
tags:
- recipe
- cooking
---
To find notes using the Search plugin, use the tag
search operator in your search term, for example tag:#meeting
.
You can also search for tags by clicking on them in your notes.
To find notes using the Tags view plugin, select Tags: Show tags in the Command palette, and then select the tag you want to search for.
You can use any of the following characters in your tags:
_
)-
)/
) for Nested tagsTags must contain at least one non-numerical character. For example, #1984 isn't a valid tag, but #y1984 is.
Tags can't contain blank spaces. To separate two or more words, you can instead use the following formats: